//
//  BYHomeModule.m
//  BYHome
//
//  Created by bai byte on 2025/8/31.
//

#import "BYHomeModule.h"
#import <BYCore/BYModuleManager.h>
#import <BYCore/BYModuleProtocol.h>
#import "BYHomeProtocol.h"
#import "BYHome.h"

@interface BYHomeModule ()<BYModuleProtocol>

@end

@implementation BYHomeModule

+ (void)load
{
    [BYCore registerDynamicModule:[self class]];
}

- (void)modInit:(BYContext *)context{
    [[BYCore shareInstance] registerService:@protocol(BYHomeProtocol) service:[BYHome class]];
}

@end
